package com.android.picotts.ui.activity;

import com.android.picotts.componet.DamoService;
import com.android.picotts.componet.SystemService;

import android.app.Activity;
import android.os.Bundle;

/** 启动Launcher透明界面*/
public class StartActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if(SystemService.getInstance() != null) {
            MainActivity.startActivity(this);
        }else {
            DamoService.startService(this);
        }
        finish();
    }
}